package cn.bandeqing.order.resp;

import cn.bandeqing.base.resp.BaseTable;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.sql.Timestamp;

@EqualsAndHashCode(callSuper = true)
@Data
public class OrderTable extends BaseTable implements Serializable {

    private Long orderId;

    private String customerName;

    private String customerPhone;

    private Timestamp serviceTime;

    private String startAddress;

    private Double startAddressLng;

    private Double startAddressLat;

    private String newAddress;

    private Double newAddressLng;

    private Double newAddressLat;

    private Integer orderStatus;

    private Double distance;

    private Long storeId;
    private String storeName;

    /**
     * 套餐总价
     */
    private Double productTotalPrice;

    /**
     * 优惠金额
     */
    private Double discountsPrice;
    private Double otherPrice;

    /**
     * 总价
     */
    private Double totalPrice;

    /**
     * 应付定金
     */
    private Double shouldDeposit;

    // 实付定金
    private Double payDeposit;

    // 实付尾款
    private Double payFinalPayment;

    // 套餐信息
    private Long productId;
    private String productName;

    // 城市编码6位国家行政
    private String cityCode;
    private String cityName;

    private Integer startFloor;
    private Boolean startElevator;
    private Double startFloorPrice;

    private Integer newFloor;
    private Boolean newElevator;
    private Double newFloorPrice;

    private Double kmPrice;

    private String customerRemark;
    private String serviceRemark;
    private String orderRemark;

}
